{// 引入标签库 }
<tagLib name="html" />
{// 加载头部公共文件 }
<include file="Public:header" />
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="17" valign="top" background="__PUBLIC__/images/mail_leftbg.gif"><img src="__PUBLIC__/images/left-top-right.gif" width="17" height="29" /></td>
		<td valign="top" background="__PUBLIC__/images/content-bg.gif">
			<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
				<tr>
					<td height="31"><div class="titlebt">操作授权</div></td>
				</tr>
			</table>
		</td>
		<td width="16" valign="top" background="__PUBLIC__/images/mail_rightbg.gif"><img src="__PUBLIC__/images/nav-right-bg.gif" width="16" height="29" /></td>
	</tr>
	<tr>
		<td valign="middle" background="__PUBLIC__/images/mail_leftbg.gif">&nbsp;</td>
		<td valign="top" bgcolor="#F7F8F9">
			<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr>
					<!--内容区域s-->
					<td>
						<!-- 主体内容  -->
						<div class="content" >
							<div class="title"> 操作授权 [ <a href="__URL__">返 回</a> ] </div>
							<!--  功能组区域  -->
							<script language="JavaScript">
								<!--
								function saveAccess(){
									ThinkAjax.sendForm('form1','__URL__/setAction/');
								}
								//-->
							</script>
							<div id="result" class="result none"></div>
							<import  file="Js.Form.MultiSelect" />
							<form method=post id="form1">
								<table class="select" style="width:265px" align="center">
									<tr><td height="5" colspan="3" class="topTd" ></td></tr>
									<tr>
										<th class="tCenter">
											<a href="__URL__/app/groupId/{$Think.get.groupId}">应用授权</a> | <a href="__URL__/module/groupId/{$Think.get.groupId}">模块授权</a> | 操作授权
										</th>
									</tr>
									<tr>
										<Td class="tRight">
											当前组：<html:select name="groupId" style="medium" change="location.href = '?groupId='+this.options[this.selectedIndex].value;" first="选择组" options="groupList" selected="selectGroupId" />
										</Td>
									</tr>
									<tr>
										<Td class="tRight">
											当前应用：<html:select name="appId"  style="medium" change="location.href = '?appId='+this.options[this.selectedIndex].value;" first="选择应用" options="appList" selected="selectAppId" />
										</Td>
									</tr>
									<tr>
										<Td class="tRight">
											当前模块：<html:select name="moduleId"  style="medium" change="location.href = '?appId={$Think.get.appId}&moduleId='+this.options[this.selectedIndex].value;" first="选择模块" options="moduleList" selected="selectModuleId" />
										</Td>
									</tr>
									<tr>
										<td >
											<html:select id="groupActionId" name="groupActionId[]" options="actionList" selected="groupActionList"  multiple="true" style="multiSelect" size="15" />
										</td>
									</tr>
									<tr>
										<td  class="row tCenter" >
											<input type="button" onclick="allSelect()" value="全 选" class="submit  ">&nbsp;
											<input type="button" onclick="InverSelect()" value="反 选" class="submit  ">&nbsp;
											<input type="button" onclick="allUnSelect()" value="全 否" class="submit ">&nbsp;
											<input type="button" onclick="saveAccess()" value="保 存" class="submit  ">&nbsp;
											<input type="hidden" name="groupId" VALUE="{$Think.get.id}" >
											<input type="hidden" name="module" value="Node">
											<input type="hidden" name="ajax" VALUE="1">
										</td>
									</tr>
									<tr>
										<td height="5" class="bottomTd" ></td>
									</tr>
								</table>
							</form>
						</div>
						<!-- 主体内容结束 -->
					</td>
					<!--内容区域e-->
				</tr>
			</table>
		</td>
		<td background="__PUBLIC__/images/mail_rightbg.gif">&nbsp;</td>
	</tr>
	<tr>
		<td valign="bottom" background="__PUBLIC__/images/mail_leftbg.gif"><img src="__PUBLIC__/images/buttom_left2.gif" width="17" height="17" /></td>
		<td background="__PUBLIC__/images/buttom_bgs.gif"><img src="__PUBLIC__/images/buttom_bgs.gif" width="17" height="17"></td>
		<td valign="bottom" background="__PUBLIC__/images/mail_rightbg.gif"><img src="__PUBLIC__/images/buttom_right2.gif" width="16" height="17" /></td>
	</tr>
</table>
<include file="Public:footer" />